<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><{$Project.name}></title>
        <meta name="description" content="<{$Project.name}>">
        <meta name="”format-detection”" content="telephone=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta content="email=no" name="format-detection">
        <meta content="telephone=no" name="format-detection">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0">
        <link href="__PUBLIC__/v4/bootstrap/bootstrap.css" rel="stylesheet" media="screen">
        <link rel="stylesheet" href="__PUBLIC__/v4/font-awesome-4.7.0/css/awesome.css">
        <link href="__PUBLIC__/v4/css/style.css" rel="stylesheet" media="screen">
        <link href="__PUBLIC__/v4/css/wapstyle.css" rel="stylesheet" media="screen">
        <link href="__PUBLIC__/v4/css/votestyle.css" rel="stylesheet" media="screen">
        <link href="http://m127287.mustfollow.axfree.mvote.net/favicon.ico" type="image/x-icon" rel="icon">
        <link href="http://m127287.mustfollow.axfree.mvote.net/favicon.ico" type="image/x-icon" rel="shortcut icon">
        <script src="__PUBLIC__/v4/js/jquery.js"></script>
        <script type="text/javascript" src="__PUBLIC__/v4/js/wxvote.js"></script>        
        <link href="__PUBLIC__/v4/css/wapstyle_green.css" rel="stylesheet" media="screen">
        <style>body{background-color: } .weixinstyle .blockcell {border-bottom:0px;} .weixinstyle .wxvoteinfo{border-radius:6px;} .bottombar { text-align:center; bottom: 0; position: fixed; z-index:1000; text-align: center; width: 100%; background-color: #000; height:43px; line-height:18px; } .weixinstyle .bottombar a{ color: #fff; float: left; font-size: 12px; margin-top: 3px; text-decoration: none; width: 20%; overflow:hidden; } .weixinstyle .bottombar a i{ font-size: 18px; } .searchbar { background-image: url("__PUBLIC__/v4/img/alphabg.png"); bottom: 43px; height: 75px; padding-left: 2.5%; padding-top: 24px; position: fixed; width: 100%; } .weixinstyle .searchbar input{ float: left; margin-top: 10px; } .weixinstyle .searchbar button{ float: left; margin-left: 10px; margin-top: 11px; width: 80px; }</style>
    </head>
    <body class="weixinstyle">
        <div class="wapwrap">
            <div class="navbar navbar-poll wapnavbar">
                <div class="navbar-inner "></div>
            </div>
            <div class="container bodycontainer">
                <div class="votetitle">
                    <h4><{$Project.name}></h4></div>
                <div class="wxvoteinfo">
                    <ul class="inline">
                        <li>参与选手
                            <br><{$Project.hxrnums}></li>
                        <li class="left-border">累计投票
                            <br>
                            <span id="wxallvotenum"><{$Project.votesum}></span></li>
                        <li class="left-border">访问次数
                            <br>
                            <span id="wxallviewnum"><{$Project.visitnum}></span></li>
                    </ul>
                </div>
                <div class="blockcell">
                    <i class="icon-time"></i>活动开始时间：<{$Project.startime}></div>
                <div class="blockcell">
                    <i class="icon-time"></i>活动截止时间：<{$Project.endtime}></div>
                <div class="blockcell">
                    <i class="icon-warning-sign"></i>投票规则：<{$Project.voteway}></div>
                <div class="blockcell" style="margin-top:10px;">
                    <form method="post" class="form-inline" action="<{:U('search')}>" style="margin-bottom:5px;">
                        <input type="text" name="keyword" value="" class="input-medium" placeholder="请输入选手名称或编号" id="searchkeyword">
                        <button type="submit" class="btn btn-info" style="width:80px;">
                            <i class="icon-search"></i>搜索</button>
                    </form>
                </div>
                <div class="blockcell">
                    <a href="<{:U('ranKingList')}>" class="btn btn-info" style="width:90%;margin-top:8px;">
                        <i class="icon-bar-chart"></i>查看排名</a>
                </div>
                <div class="voteoplist">
					<div class="plistleft leftoptions">
	            		<foreach name="User" item="vo"> 
	            			<if condition="$key%2 == 0">
								<div class="wxop">
			                        <div class="wxopimg">
			                            <a href="<{:U('userInfo',array('huid' => $vo['huid']))}>">
			                                <img src="<{$vo.perpic}>" alt="<{$vo.lables}>" >
			                            </a>
			                        </div>
			                        <div class="wxoptxt">
			                            <a href="<{:U('userInfo',array('huid' => $vo['huid']))}>"><{$vo.huid}>.【<{$vo.personame}>】 <{$vo.lables}></a>
			                        </div>
			                        <div class="wxopvotediv">
			                            <div class="wxvbtn">
			                                <button class="btn btn-info my_wxvotebutton" data-itid="<{$vo.huid}>">
			                                    <i class="icon-thumbs-up"></i>投票
			                                </button>
			                            </div>
			                            <div class="wxvinfo">
			                                <span><{$vo.daynums}></span>票
			                            </div>
			                        </div>
			                    </div>
							</if>
	                	</foreach>
	                </div>
                    <div class="plistleft plistright rightoptions">
	                    <foreach name="User" item="vo"> 
	            			<if condition="$key%2 == 1">
								<div class="wxop">
			                        <div class="wxopimg">
			                            <a href="<{:U('userInfo',array('huid' => $vo['huid']))}>">
			                                <img src="<{$vo.perpic}>" alt="<{$vo.lables}>" >
			                            </a>
			                        </div>
			                        <div class="wxoptxt">
			                            <a href="<{:U('userInfo',array('huid' => $vo['huid']))}>"><{$vo.huid}>.【<{$vo.personame}>】 <{$vo.lables}></a>
			                        </div>
			                        <div class="wxopvotediv">
			                            <div class="wxvbtn">
			                                <button class="btn btn-info my_wxvotebutton" data-itid="<{$vo.huid}>">
			                                    <i class="icon-thumbs-up"></i>投票
			                                </button>
			                            </div>
			                            <div class="wxvinfo">
			                                <span><{$vo.daynums}></span>票
			                            </div>
			                        </div>
			                    </div>
							</if>
	                	</foreach>
                    </div>
                </div>
            </div>
            <div style="text-align:center" id="loadmorebtn">
                <button class="btn btn-info" type="button">加载更多</button>
            </div>
            <div class="loadingpagealert">
                <img src="__PUBLIC__/v4/img/loading.gif">正在加载更多请稍后...
            </div>
            <div class="followalert followalertnew dofollowalert" style="display: none;">
                <div class="falertbox1" style="text-align:center;top: 156px;padding: 10px 0px 20px;">
                    <h3 class="h3" style="color: #2ecc71;"><strong>身份验证</strong></h3>
                    <p>首次投票需进行身份证后六位验证！</p>
                    <p class="p1">&nbsp;&nbsp;
                                                                         姓名：<input id="personame"  style="margin:15px 0px 5px;height: 25px;border:0;border-radius: 5px;background-color: #ddd;"><br>
                   	            身份证：<input id="joinflag"  style="margin:5px 0px 10px;height: 25px;border:0;border-radius: 5px;background-color: #ddd;"><br>
                   		<button type="button" id="verify_button" style="width: 68px;height: 30px; border:0;border-radius: 5px;color:#fff;background-color: #2ecc71;">提交</button>
                    </p>
                    <p class="p1">
                        <a id="cancelfollowalert" class="btn-link"></a>
                    </p>
                </div>
            </div>
            <div class="wapalert" style="display:none;">
                <p class="msg_title"></p>
                <p class="msg_content" style="font-size: 18px;line-height: 18px;"></p>
            </div>
            <div class="footer footerwap" style="position: relative;margin-bottom: 0px;padding: 0px;"></div>
            <div class="searchbar" style="display:none">
                <form method="post" class="form-inline" action="<{:U('search')}>">
                    <input type="text" name="keyword" value="" class="input-medium" placeholder="请输入选手名称或编号" id="searchkeyword">
                    <button type="submit" class="btn btn-info" style="width:80px;">
                        <i class="icon-search"></i>搜索</button>
                </form>
            </div>
            <script>
	            var vote_url = "<{:U('clickVote')}>";
		    	var verify_url = "<{:U('Verify')}>";
            	var loadpagedone = false;
            	var optionpagenum = 20;
                var wxpage = -1;
                window.onscroll = function() {
                    if (getScrollTop() + getClientHeight() == getScrollHeight()) {
                        my_showWxOptionListMoreOnerow(optionpagenum);
                    }
                }
                $("#loadmorebtn").click(function() {
                    my_showWxOptionListMoreOnerow(optionpagenum);
                });
                $("#searchbtn").click(function() {
                    if ($(".searchbar").css("display") == "none") {
                        $(".searchbar").show();
                    } else {
                        $(".searchbar").hide();
                    }
                    return false;
                });
            </script>
        </div>
    </body>
</html>